package com.mdc.mansion.dataaccess.modules.order.mo;

import com.mdc.mansion.dataaccess.modules.system.entity.User;

import java.math.BigDecimal;

/**
 *
 */
public class RestaurantOderItemUnionMo {
	
	private String restaurantId;
	private String restaurantOrderId;
	private String restaurantOrderItemId;
	private String orderSerialNum;
	private String restaurantTableId;
	private String restaurantDishesId;
	private String restaurantDishesStandardId;
	private String restaurantDishesFlavorId;
	private String dishesStatus;
	private String restaurantDishesStandardName;
	private String restaurantDishesStandardChineseName;
	private String restaurantDishesStandardEnglishName;
	private String restaurantDishesFlavorName;
	private String restaurantDishesFlavorChineseName;
	private String restaurantDishesFlavorEnglishName;
	private String tableName;
	private String tableChineseName;
	private String tableEnglishName;
	private String restaurantDishesName;
	private String restaurantDishesChineseName;
	private String restaurantDishesEnglishName;
	private String restaurantStaffId;
	private String createTime;
	private String restaurantDishesComboId;
	private String itemId;
	private String restaurantTableNum;
	private String amount;
	private String price;
	private String totalPrice;
	private String totalAmount;
	private String discountPrice;
	private String totalDiscountPrice;
	private User createBy;
	
	public User getCreateBy() {
		return createBy;
	}
	
	public void setCreateBy(User createBy) {
		this.createBy = createBy;
	}
	
	public String getTotalAmount() {
		return totalAmount;
	}
	
	public void setTotalAmount(String totalAmount) {
		this.totalAmount = totalAmount;
	}
	
	public String getDiscountPrice() {
		return discountPrice;
	}
	
	public void setDiscountPrice(String discountPrice) {
		this.discountPrice = discountPrice;
	}
	
	public String getTotalDiscountPrice() {
		return totalDiscountPrice;
	}
	
	public void setTotalDiscountPrice(String totalDiscountPrice) {
		this.totalDiscountPrice = totalDiscountPrice;
	}
	
	public String getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(String totalPrice) {
		this.totalPrice = totalPrice;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getRestaurantTableNum() {
		return restaurantTableNum;
	}
	
	public void setRestaurantTableNum(String restaurantTableNum) {
		this.restaurantTableNum = restaurantTableNum;
	}
	
	public String getItemId() {
		return itemId;
	}
	
	public void setItemId(String itemId) {
		this.itemId = itemId;
	}
	
	public String getRestaurantId() {
		return restaurantId;
	}
	
	public void setRestaurantId(String restaurantId) {
		this.restaurantId = restaurantId;
	}
	
	public String getRestaurantOrderId() {
		return restaurantOrderId;
	}
	
	public void setRestaurantOrderId(String restaurantOrderId) {
		this.restaurantOrderId = restaurantOrderId;
	}
	
	public String getRestaurantOrderItemId() {
		return restaurantOrderItemId;
	}
	
	public void setRestaurantOrderItemId(String restaurantOrderItemId) {
		this.restaurantOrderItemId = restaurantOrderItemId;
	}
	
	public String getOrderSerialNum() {
		return orderSerialNum;
	}
	
	public void setOrderSerialNum(String orderSerialNum) {
		this.orderSerialNum = orderSerialNum;
	}
	
	public String getRestaurantTableId() {
		return restaurantTableId;
	}
	
	public void setRestaurantTableId(String restaurantTableId) {
		this.restaurantTableId = restaurantTableId;
	}
	
	public String getRestaurantDishesId() {
		return restaurantDishesId;
	}
	
	public void setRestaurantDishesId(String restaurantDishesId) {
		this.restaurantDishesId = restaurantDishesId;
	}
	
	public String getRestaurantDishesStandardId() {
		return restaurantDishesStandardId;
	}
	
	public void setRestaurantDishesStandardId(String restaurantDishesStandardId) {
		this.restaurantDishesStandardId = restaurantDishesStandardId;
	}
	
	public String getRestaurantDishesFlavorId() {
		return restaurantDishesFlavorId;
	}
	
	public void setRestaurantDishesFlavorId(String restaurantDishesFlavorId) {
		this.restaurantDishesFlavorId = restaurantDishesFlavorId;
	}
	
	public String getAmount() {
		return amount;
	}
	
	public void setAmount(String amountStr) {
		BigDecimal bg = new BigDecimal(amountStr);
		if(new BigDecimal(bg.intValue()).compareTo(bg)==0){
			this.amount = String.valueOf(bg.intValue());
		}else{
			this.amount = amountStr;
		}
	}
	
	public String getDishesStatus() {
		return dishesStatus;
	}
	
	public void setDishesStatus(String dishesStatus) {
		this.dishesStatus = dishesStatus;
	}
	
	public String getRestaurantDishesStandardName() {
		return restaurantDishesStandardName;
	}
	
	public void setRestaurantDishesStandardName(String restaurantDishesStandardName) {
		this.restaurantDishesStandardName = restaurantDishesStandardName;
	}
	
	public String getRestaurantDishesStandardChineseName() {
		return restaurantDishesStandardChineseName;
	}
	
	public void setRestaurantDishesStandardChineseName(String restaurantDishesStandardChineseName) {
		this.restaurantDishesStandardChineseName = restaurantDishesStandardChineseName;
	}
	
	public String getRestaurantDishesStandardEnglishName() {
		return restaurantDishesStandardEnglishName;
	}
	
	public void setRestaurantDishesStandardEnglishName(String restaurantDishesStandardEnglishName) {
		this.restaurantDishesStandardEnglishName = restaurantDishesStandardEnglishName;
	}
	
	public String getRestaurantDishesFlavorName() {
		return restaurantDishesFlavorName;
	}
	
	public void setRestaurantDishesFlavorName(String restaurantDishesFlavorName) {
		this.restaurantDishesFlavorName = restaurantDishesFlavorName;
	}
	
	public String getRestaurantDishesFlavorChineseName() {
		return restaurantDishesFlavorChineseName;
	}
	
	public void setRestaurantDishesFlavorChineseName(String restaurantDishesFlavorChineseName) {
		this.restaurantDishesFlavorChineseName = restaurantDishesFlavorChineseName;
	}
	
	public String getRestaurantDishesFlavorEnglishName() {
		return restaurantDishesFlavorEnglishName;
	}
	
	public void setRestaurantDishesFlavorEnglishName(String restaurantDishesFlavorEnglishName) {
		this.restaurantDishesFlavorEnglishName = restaurantDishesFlavorEnglishName;
	}
	
	public String getTableName() {
		return tableName;
	}
	
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	
	public String getTableChineseName() {
		return tableChineseName;
	}
	
	public void setTableChineseName(String tableChineseName) {
		this.tableChineseName = tableChineseName;
	}
	
	public String getTableEnglishName() {
		return tableEnglishName;
	}
	
	public void setTableEnglishName(String tableEnglishName) {
		this.tableEnglishName = tableEnglishName;
	}
	
	public String getRestaurantDishesName() {
		return restaurantDishesName;
	}
	
	public void setRestaurantDishesName(String restaurantDishesName) {
		this.restaurantDishesName = restaurantDishesName;
	}
	
	public String getRestaurantDishesChineseName() {
		return restaurantDishesChineseName;
	}
	
	public void setRestaurantDishesChineseName(String restaurantDishesChineseName) {
		this.restaurantDishesChineseName = restaurantDishesChineseName;
	}
	
	public String getRestaurantDishesEnglishName() {
		return restaurantDishesEnglishName;
	}
	
	public void setRestaurantDishesEnglishName(String restaurantDishesEnglishName) {
		this.restaurantDishesEnglishName = restaurantDishesEnglishName;
	}
	
	public String getRestaurantStaffId() {
		return restaurantStaffId;
	}
	
	public void setRestaurantStaffId(String restaurantStaffId) {
		this.restaurantStaffId = restaurantStaffId;
	}
	
	public String getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
	public String getRestaurantDishesComboId() {
		return restaurantDishesComboId;
	}
	
	public void setRestaurantDishesComboId(String restaurantDishesComboId) {
		this.restaurantDishesComboId = restaurantDishesComboId;
	}
}
